package com.snail.starter.mq.annotation;

import com.snail.starter.mq.controller.MessageTestController;
import com.snail.starter.mq.holder.MessageHolder;
import com.snail.starter.mq.rpc.LocalMessageRpc;
import org.springframework.context.annotation.Import;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author: snail framework
 * @Date: 2023/7/4 16:46
 * @Version: 1.0.0
 */
@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import({MessageTestController.class, LocalMessageRpc.class, MessageHolder.class})
public @interface EnableMQ {
}
